package com.community.itelligentcommunity.sys.dao;


import com.community.itelligentcommunity.common.base.dao.GenericDao;
import com.community.itelligentcommunity.sys.entity.QueryTree;
import com.community.itelligentcommunity.sys.entity.Tree;
import com.community.itelligentcommunity.sys.entity.User;

import java.util.List;

public interface TreeDao extends GenericDao<Tree, QueryTree> {

    /**
     * 功能描述：加载当前登陆的用户的菜单树的数据
     * @param user
     * @return
     */
    List<Tree> loadUserTree(User user);
}
